package com.xauat.payment;

public class PointsPayment implements PaymentMethod{
    @Override
    public String getPaymentMethod() {
        return "积分兑换";
    }
    public  String pay(int price){
        if(price<=200)
        return "花费"+price+"积分";
        else
            return "花费"+price+"积分，疑似潜在脱坑客户";
    }
}
